package ex.system.service;

import modules.system.service.UserRoleRelService;

public class UserRoleRelServiceEx extends UserRoleRelService {
	public int deleteByUserId(Long userId) {
		return getUserRoleRelDao().createQuery(
				"delete UserRoleRel ur where ur.user.id = ? ", userId)
				.executeUpdate();
	}
}
